﻿<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
    <html>
      <head>
        <title>
          <xsl:value-of select="/data/tt"/>
        </title>
      </head>
    <body>
      <h1>
        <xsl:value-of select="/data/form/BodyTitle"/>
      </h1>
      <div>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000">
          <tr>
            <td>
              id
            </td>
            <td>
              标题
            </td>
            <td>
              link
            </td>
          </tr>
          <xsl:for-each select="/data/form/dataItem/Tab">
            <tr>
              <td>
                <xsl:value-of  select="id"/>
              </td>
              <td>
                <xsl:value-of  select="title"/>
              </td>
              <td>
                <a href="{link}" title="{link/@t}" >联接</a>
              </td>
            </tr>
          </xsl:for-each>
        </table>
      </div>
      <div onclick="">
          <!--<xsl:value-of select="/data/PageScript"/>-->
      </div>
    </body>
      <script  src="../../jquery/jquery-latest-pack.js"  type="text/javascript">
      </script>
      <script   type="text/javascript">
        <xsl:value-of select="/data/PageScript"/>

      </script>

    </html>
</xsl:template>
<!-- 格式化内容-->
</xsl:stylesheet> 

